import {
	http
} from '@/utils/http'

// 获取金泰班组下拉列表
export function getCrewListApi(params: any) {
  return new Promise(async (resolve, reject) => {
    const { data } = await 	http({
      url: "/eam/eamTeam/getAvailableList",
      method: "POST",
      data: params,
    });
    resolve(data);
  });
}

// 获取金泰班组人员下拉列表
export function getCrewMemberListApi(params: any) {
  return new Promise(async (resolve, reject) => {
    const { data } = await 	http({
      url: "/eam/eamTeam/getDetails",
      method: "POST",
      data: params,
    });
    resolve(data);
  });
}